package com.wwj.core.system.entity.mapper;



import com.wwj.core.system.entity.User;

import java.util.List;
import java.util.Map;

/**
 * Created by xya on 16-10-24.
 */
public interface UserMapper {

    User getById(Object id);

    List<User> selectUser(Map<String, Object> params);

    User selectLoginUser(String account);

    int save(User user);

    int update4Delete(Object id);

    int update(User user);

    long validateEmployeeNo(Map<String, Object> params);

    int updatePwd(User user);

    long checkUserPhone(String phone);

}
